From 78373eb9f7407202d3ac114764b60d3d81d7cfa4 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 8 Nov 2015 20:27:22 -0500 Subject: [PATCH] Don't use a transient node in gtk_render_arrow() It is not necessary for the users of this API, and causes things to not work as intended. Without this transient node, styling "notebook header tabs arrow" has the desired effect on notebook arrows. --- gtk/gtkrender.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gtk/gtkrender.c b/gtk/gtkrender.c index 4f986bbf5a..d8abadc85f 100644 --- a/gtk/gtkrender.c +++ b/gtk/gtkrender.c @@ -236,12 +236,8 @@ gtk_render_arrow (GtkStyleContext *context, cairo_save (cr); cairo_new_path (cr); - gtk_style_context_save (context); - gtk_style_context_add_class (context, GTK_STYLE_CLASS_ARROW); - gtk_do_render_arrow (context, cr, angle, x, y, size); - gtk_style_context_restore (context); cairo_restore (cr); } -- 2.30.2